home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / spawno30.zip / SPAWNVE.C < prev    next >
C/C++ Source or Header  |  1990-09-13  |  776b  |  24 lines

  1. /********************************************************************/
  2. /*   SPAWNO v2.0      XMS/disk swapping replacement for spawn...()  */
  3. /*   (c) Copyright 1990 Ralf Brown  All Rights Reserved         */
  4. /*                                    */
  5. /*   May be freely copied provided that this copyright notice is    */
  6. /*   not altered or removed.                        */
  7. /********************************************************************/
  8.  
  9. #include "spawno.h"
  10. #include <alloc.h>
  11.  
  12. extern char *__spawn_env ;
  13. int pascal __spawn_buildenv(const char **) ;
  14.  
  15. int _Cdecl spawnveo(const char *overlay_path, const char *name, va_list args,
  16.             const char **env)
  17. {
  18.    int retval ;
  19.  
  20.    retval = __spawnv(overlay_path,name,args,__spawn_buildenv(env)) ;
  21.    free(__spawn_env) ;
  22.    return retval ;
  23. }
  24.